package com.hs.homework_01.mapper;

import com.hs.homework_01.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    List<Student> selectAll();

    Student selectById(Integer id);

    int update(Student student);

    int insert(Student student);

    int deleteById(Integer id);
}
